package de.fhb.formel1.dbhibernate.persistence;

public class Formel1DBException extends Exception {
	
	private Object dbObject;

	
	/**
	 * creates a new Formel1DBException object.
	 * @param dbObject object causing the exception
	 * @param message  error message
	 */
	public Formel1DBException(Object dbObject, String message) {
		super(message);
		this.dbObject = dbObject;
	}

}
